﻿using System;

namespace AIFSContentManagementSystem.Criteria
{
    using Messages;

    /// <summary>
    /// Interface implemented by the service class for Criteria aggregate root.
    /// </summary>
    public interface ICriteriaService
    {        
        /// <summary>
        /// Get criterion request
        /// </summary>
        GetCriterionResponse Process(GetCriterionRequest request);

        /// <summary>
        /// Saves the provided Criterion
        /// </summary>
        SaveCriterionResponse Process(SaveCriterionRequest request);
    }
}
